<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>待认领订单列表</title>

    <link rel="stylesheet" href="http://cdn.viptool.cn/lib/bootstrap/3.3.5/css/bootstrap.min.css">
    <link href="../resource/hotui/css/font-awesome.min.css" th:href="@{/resource/hotui/css/font-awesome.min.css}" rel="stylesheet">
    <!-- Morris -->
    <link href="http://cdn.viptool.cn/lib/morris.js/0.4.3/morris.css" rel="stylesheet">
    <link href="http://cdn.viptool.cn/lib/animate.css/2.1.1/animate.min.css" rel="stylesheet">
    <link href="../resource/hotui/css/style.min-1.0.8.css" th:href="@{/resource/hotui/css/style.min-1.0.8.css}" rel="stylesheet">
    <link href="../resource/hotui/css/hotui.style.override.css" th:href="@{/resource/hotui/css/hotui.style.override.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content tooltip-demo" th:object="${homeCount}">
    <div class="row">
        <div class="col-sm-9">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-success pull-left">今日数据</span>
                    <span class="label label-success pull-right" data-placement="left" data-toggle="tooltip"
                          data-html="true"
                          data-original-title="<p>今日实时数据的统计时间均为今日零时截至当前更新时间。</p>
                           <p><strong>销售额(元)：</strong>成功付款的交易总金额。</p>
                           <p><strong>下单数量：</strong>采购商提交订单的数量。</p>
                           <p><strong>付款订单数量：</strong>成功付款的订单数。</p>">
                    	<i class="fa fa-question-circle"></i></span>
                    <!--<span class="c-gray pull-right"><i class="glyphicon glyphicon-time"></i>：<span th:text="">2018-02-07 02:45:00</span>&nbsp;</span>-->
                </div>

                <div class="ibox-content">
                    <div class="row">
                        <div class="col-md-3 col-split">
                            <h1 class="no-margins" th:text="*{todayCollection}">0.0</h1>
                            <small>收款</small>
                        </div>
                        <div class="col-md-3  col-split">
                            <h1 class="no-margins" th:text="*{todayOrderCount.num}">0</h1>
                            <small>问诊单数量</small>
                        </div>
                        <div class="col-md-3  col-split">
                            <h1 class="no-margins" th:text="*{todayTaskCount.num}">0</h1>
                            <small>任务总数</small>
                        </div>
                        <div class="col-md-3  col-split">
                            <h1 class="no-margins" th:text="*{todayTaskCount.toServiceNum}">0</h1>
                            <small>待服务任务</small>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-warning pull-left">昨日数据</span>
                    <span class="label label-warning pull-right" data-placement="left" data-toggle="tooltip"
                          data-html="true"
                          data-original-title="<p>今日实时数据的统计时间均为今日零时截至当前更新时间。</p>
                           <p><strong>销售额(元)：</strong>成功付款的交易总金额。</p>
                           <p><strong>下单数量：</strong>采购商提交订单的数量。</p>
                           <p><strong>付款订单数量：</strong>成功付款的订单数。</p>">
                    	<i class="fa fa-question-circle"></i></span>
                    <!--<span class="c-gray pull-right"><i class="glyphicon glyphicon-time"></i>：<span th:text="">2018-02-07 02:45:00</span>&nbsp;</span>-->
                </div>

                <div class="ibox-content">
                    <div class="row">
                        <div class="row">
                            <div class="col-md-3 col-split">
                                <h1 class="no-margins" th:text="*{yesterdayCollection}">0.0</h1>
                                <small>收款</small>
                            </div>
                            <div class="col-md-3  col-split">
                                <h1 class="no-margins" th:text="*{yesterdayOrderCount.num}">0</h1>
                                <small>问诊单数量</small>
                            </div>
                            <div class="col-md-3  col-split">
                                <h1 class="no-margins" th:text="*{yesterdayTaskCount.num}">0</h1>
                                <small>任务总数</small>
                            </div>
                            <div class="col-md-3  col-split">
                                <h1 class="no-margins" th:text="*{yesterdayTaskCount.toServiceNum}">0</h1>
                                <small>待服务任务</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>暮泰医疗公告</h5>
                </div>
                <div class="ibox-content no-padding" style="height:800px;overflow-y: auto;overflow-x: hidden;">
                    <div class="panel-body">
                        <div class="panel-group" id="version">
                            <!--<div class="panel panel-default">-->
                            <!--<div class="panel-heading">-->
                            <!--<h5 class="panel-title">-->
                            <!--<a style="font-size: 20px;" data-toggle="collapse" data-parent="#version"-->
                            <!--href="#v2_0_12_beta">v2.0.12-beta更新日志</a>-->
                            <!--</h5>-->
                            <!--</div>-->
                            <!--<div id="v2_0_12_beta" class="panel-collapse collapse in">-->
                            <!--<div class="panel-body">-->
                            <!--<p style="white-space: normal;">- 新增各种统计报表</p>-->
                            <!--<p style="white-space: normal;">- 异常供应单新重新询货功能</p>-->
                            <!--<p style="white-space: normal;">- 修复产品图片替换的问题</p>-->
                            <!--<p style="white-space: normal;">- 新增订单序号，每日重置</p>-->
                            <!--<p style="white-space: normal;">- 新增桌面程序的接口支持</p>-->
                            <!--<p style="white-space: normal;">- 询货单界面优化</p>-->
                            <!--<p style="white-space: normal;">- 优化开票流程 </p>-->
                            <!--<p style="white-space: normal;">- 添加主打产品时可以独立上传图片 </p>-->
                            <!--</div>-->
                            <!--</div>-->
                            <!--</div>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
</div>

<script src="http://cdn.viptool.cn/lib/jquery/2.2.4/jquery.min.js"></script>
<script src="http://cdn.viptool.cn/lib/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="../resource/hotui/js/hot/bootstrap.hot.extra-utils.js?20190316" th:src="@{/resource/hotui/js/hot/bootstrap.hot.extra-utils.js?20190316}"></script>
<script src="../resource/hotui/js/content.min.js" th:src="@{/resource/hotui/js/content.min.js}"></script>
<script type="text/javascript" th:inline="javascript">
    var unclaimedList = /*[[@{/order/unclaimedList}]]*/  "";
    var payConfirmList = /*[[@{/order/claimedList/2}]]*/  "";
    var consultConfirmList = /*[[@{/order/claimedList/3}]]*/  "";
</script>
<script type="text/javascript">
    //    var loginDate = localStorage.getItem("tool_union_manager_login_date");
    //    var today = new Date().toLocaleDateString();
    //    if(loginDate==null||today!=loginDate){
    //        localStorage.clear();
    //    }
    //    localStorage.setItem("tool_union_manager_login_date",today);
    var redirectHandler = {
        unclaimedList: function () {
            hot.newTab(unclaimedList, "待认领订单");
        },
        payConfirmList: function () {
            hot.newTab(payConfirmList, "支付待审核");
        },
        consultConfirmList: function () {
            hot.newTab(consultConfirmList, "询货待确认");
        }
    }
</script>
</body>

</html>
